package com.example.day13;

import java.util.Date;

/**
 * @author Lenovo
 */
public class DateDemo02 {
    public static void main(String[] args) {
        Date d = new Date();
        long time =System.currentTimeMillis();
        d.setTime(time);
        System.out.println(d);
    }
}
